<div class="main-container col1-layout">
            <div class="main">
                                <div class="col-main">
                                <div class = "content">
<?php
$this->pageTitle=Yii::app()->name . ' - Login';
$this->breadcrumbs=array(
	'Login',
);
?>

<h1>Login</h1>

<p>Please fill out the following form with your login credentials:</p>

<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'login-form',
	'enableClientValidation'=>true,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<ul class="form-list">
                        <li>
                            <?php echo $form->labelEx($model,'username'); ?>
                            <div class="input-box">
                                <?php echo $form->textField($model,'username'); ?>
                            </div>
                            <?php echo $form->error($model,'username'); ?>
                        </li>
                        <li>
                            <?php echo $form->labelEx($model,'password'); ?>
                            <div class="input-box">
                               <?php echo $form->passwordField($model,'password'); ?>
                            </div>
                            <?php echo $form->error($model,'password'); ?>
                        </li>                    	
                        <li>
                        		<?php echo $form->checkBox($model,'rememberMe'); ?>
                        		Remember me the next time.
                        </li>
                    <?php echo CHtml::submitButton('Login',array('class'=>'button','id'=>'login-button')); ?>
  </ul>
<?php $this->endWidget(); ?>
</div><!-- form -->
</div>
</div>
</div>
</div>